package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IContractService;
import com.zzyl.nursing.service.impl.ContractServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时任务
 * @author ruoyi
 */
@Component("task")
public class Task {

    @Autowired
    private IContractService contractService;

    public void updateContractStatus() {
        contractService.updateContractStatus();
    }

}
